package cn.zhentao.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dept {
    private Integer id;
    private String dname;
    private String loc;

    //用于一对多查询
    private List<Emp> emps;
}
